package MULE.Model;

/**
 * An enumeration of inventory resource types.
 * 
 * @author jstep
 */
public enum Resource {

	MONEY(1), FOOD(30), ENERGY(25), SMITHORE(50), CRYSTITE(100), MULE(175);

	/**
	 * Resource value weighed in money.
	 */
	private int value;

	/**
	 * Creates a new resource type.
	 * 
	 * @param value
	 *            The value of the resource type.
	 */
	private Resource(int value) {
		this.value = value;
	}

	/**
	 * Gets the reource's value weighed in money.
	 * 
	 * @return Money value of this resource.
	 */
	public int getValue() {
		return this.value;
	}
}